package com.qcxk.yuqian.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qcxk.yuqian.system.entity.Organ;

public interface OrganService extends IService<Organ> {

    Page queryOrganList(Page page, Organ organ);

    int updateOrgan(Organ organ);

    boolean removeRole(Integer id);

    boolean grantAuthToRole(Integer roleId, Integer[] idarr);

    boolean grantRoleForUser(Integer userId, Integer roleId);

}
